package com.jiutong.meipenggang.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author Veken
 * @date on 2017/12/19 11:42
 * @describe
 */

public class HomeHongBaoBean extends BaseBean implements Serializable {


    /**
     * id : 44E7E2E5F8BF3174302430704B8B9C9936C2AD063672083546e3e186
     * currPage : 1
     * token : 151384506394485ea260e-dd02-4f53-a46a-d933406ebf4d
     * totalCount : 7
     * redState : 1
     * redList : [{"redName":"注册送258.0元红包奖励","redRuleAmount":36000,"redAmount":258,"endTime":"2018.01.17 17:27:22"},{"redName":"注册送155.0元红包奖励","redRuleAmount":22000,"redAmount":155,"endTime":"2018.01.17 17:27:22"},{"redName":"注册送75.0元红包奖励","redRuleAmount":20000,"redAmount":75,"endTime":"2018.01.07 17:27:22"},{"redName":"注册送45.0元红包奖励","redRuleAmount":13000,"redAmount":45,"endTime":"2018.01.07 17:27:22"},{"redName":"注册送35.0元红包奖励","redRuleAmount":10000,"redAmount":35,"endTime":"2018.01.07 17:27:22"},{"redName":"注册送22.0元红包奖励","redRuleAmount":5000,"redAmount":22,"endTime":"2018.01.02 17:27:22"},{"redName":"注册送10.0元红包奖励","redRuleAmount":200,"redAmount":10,"endTime":"2018.01.02 17:27:22"}]
     */

    private String id;
    private int currPage;
    private String token;
    private int totalCount;
    private String redState;
    private List<RedListBean> redList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getCurrPage() {
        return currPage;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public String getRedState() {
        return redState;
    }

    public void setRedState(String redState) {
        this.redState = redState;
    }

    public List<RedListBean> getRedList() {
        return redList;
    }

    public void setRedList(List<RedListBean> redList) {
        this.redList = redList;
    }

    public static class RedListBean implements Serializable {
        /**
         * redName : 注册送258.0元红包奖励
         * redRuleAmount : 36000
         * redAmount : 258
         * endTime : 2018.01.17 17:27:22
         */

        private String redName;
        private int redRuleAmount;
        private int redAmount;
        private String endTime;

        public String getRedName() {
            return redName;
        }

        public void setRedName(String redName) {
            this.redName = redName;
        }

        public int getRedRuleAmount() {
            return redRuleAmount;
        }

        public void setRedRuleAmount(int redRuleAmount) {
            this.redRuleAmount = redRuleAmount;
        }

        public int getRedAmount() {
            return redAmount;
        }

        public void setRedAmount(int redAmount) {
            this.redAmount = redAmount;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }
    }
}
